<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Title</title>
</head>
<body>

<a href="${pageContext.request.contextPath}/user/toAdd">添加</a>
<table border="1">
<tr>
    <td>id</td>
    <td>name</td>
    <td>address</td>
    <td>phone</td>
    <td>操作</td>

</tr>
    <c:forEach items="${resumes}" var="resume">
        <tr>
        <td>${resume.id}</td>
        <td>${resume.name}</td>
        <td>${resume.address}</td>
        <td>${resume.phone}</td>
        <td>
            <a href="${pageContext.request.contextPath}/user/toUpdate?id=${resume.id}">更新</a>
             <a>|</a>
            <a href="${pageContext.request.contextPath}/user/delete?id=${resume.id}">删除</a>
        </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>